package com.example.design_pattern.Decorator.service.impl;

import com.example.design_pattern.Decorator.service.Equipment;

public abstract class Diamond implements Equipment {
    Equipment equipment;

    public Diamond(Equipment equipment) {
        this.equipment = equipment;
    }

    @Override
    public void action() {
        equipment.action();
    }

}
